package xyz.caijiwang.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import xyz.caijiwang.entity.User;

@Mapper //这个注解表示了这是个mybatis的mapper类
@Repository  //这个注解表示这是个被spring接管的mapper类
public interface UserMapper {

    User selectById(Integer id);

}
